package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈润强
 * @since 2020-12-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class TestQuestions extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 题目ID
     */
    @TableId(value = "test_questions_id", type = IdType.AUTO)
    private Integer testQuestionsId;

    /**
     * 题目名
     */
    private String testQuestionsName;

    /**
     * 题目难度：1简单；2苦难
     */
    private Integer testQuestionsDifficulty;

    /**
     * 题目语言：1中文；2英文
     */
    private Integer testQuestionsLanguage;

    /**
     * 是否有图片：1有；0无
     */
    private Integer testQuestionsPicture;

    /**
     * 是否真题：1是；0否
     */
    private Integer testQuestionsHistory;

    /**
     * 题目分数
     */
    private Integer testQuestionsScore;

    private List<QuestionsOptions> childen = new ArrayList<>();


}
